/**
 * @file
 *           command.cs
 * @brief
 *          <fillin>purpose
 *
 * @par Author (last changes):
 *          - Herea Adrian
 *          
 * @par Description:
 *
 *
 * @par Module-History:
 * @verbatim
 *  Date        Author				Reason
 *  15.01.2010  Herea Adrian         Initial creation
 *
 * @endverbatim
 *
 * @par Copyright Notice:
 * @verbatim
 * Copyright (C) 2010
 * All Rights Reserved.
 * The reproduction, transmission or use of this document or its contents is
 * not permitted without express written authority.
 * Offenders will be liable for damages. All rights, including rights created
 * by patent grant or registration of a utility model or design, are reserved.
 **/

using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;

namespace Client.Protocol
{
    class Command
    {
        private List<Param> m_lParams = new List<Param>();
        private int m_id;
        public int ID
        {
            get
            {
                return m_id;
            }
            set
            {
                m_id = value;
            }
        }
        public void clearParams()
        {
            m_lParams.Clear();
        }

        public List<Param> Params
        {
            get
            {
                return m_lParams;
            }
            set
            {
                m_lParams = value;
            }
        }

       
        public void addParam(Param pParam)
        {
            m_lParams.Add(pParam);
        }
    }
}
